<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>托单录入</title>
<link rel="stylesheet" href="../../jquery-easyui-1.3.6/themes/default/easyui.css" type="text/css"></link>
<link rel="stylesheet" href="../../css/icons/icon.css" type="text/css"></link>
<link rel="stylesheet" type="text/css" href="../demo.css"></link>
<script type="text/javascript" src="../../jquery-easyui-1.3.6/jquery.min.js"></script>
<script type="text/javascript" src="../../jquery-easyui-1.3.6/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../jquery-easyui-1.3.6/locale/easyui-lang-zh_CN.js"charset="utf-8"></script>
<script type="text/javascript" src="../../Exteasyui/datetimebox.js"></script>
<script type="text/javascript" src="../../Exteasyui/onCollapse.js" charset="utf-8"></script>
	<!-- <script type="text/javascript">//滑动实现tab切换
		$(function(){
			var tabs = $('#tt').tabs().tabs('tabs');
			for(var i=0; i<tabs.length; i++){
				tabs[i].panel('options').tab.unbind().bind('mouseenter',{index:i},function(e){
					$('#tt').tabs('select', e.data.index);
				});
			}
		});
	</script> -->
	
<script type="application/javascript">//json封装  
$.fn.serializeObject = function()    
{    
   var o = {};    
   var a = this.serializeArray();    
   $.each(a, function() {    
       if (o[this.name]) {    
           if (!o[this.name].push) {    
               o[this.name] = [o[this.name]];    
           }    
           o[this.name].push(this.value || '');    
       } else {    
           o[this.name] = this.value || '';    
       }    
   });    
   return o;    
};    
function onClik(){  
        //var data = $("#form1").serializeArray(); //自动将form表单封装成json提交  
        //alert(JSON.stringify(data));  
        var jsonuserinfo = $('#form1').serializeObject();
        alert(JSON.stringify(jsonuserinfo));  
}
function onClik6(){  
        //var data = $("#form6").serializeArray(); //自动将form表单封装成json提交  
        //alert(JSON.stringify(data));  
        var jsonuserinfo = $('#form6').serializeObject();
        alert(JSON.stringify(jsonuserinfo));  
}  
</script>

<script type="text/javascript">
	//单选按钮选中后双击取消选中
	window.onload = function() {
		// setRadio("myDiv", "form1", "alreadySelected"); 
		var radios = document.getElementsByTagName("input");
		for ( var i = 0; i < radios.length; i++) {
			if (radios[i].type == "radio") {
				radios[i].ondblclick = function() {
					this.checked = false;
				}
			}
		}
	}
</script>

<script type="text/javascript">
    //清空表单
		function submitForm(){
			$('#form1').form('submit');
		}
		function clearForm(){
			$('#form1').form('clear');
		}
		function clearForm6(){
			$('#form6').form('clear');
		}
	</script>

</head>
<body>
	
	<div id="tt" class="easyui-tabs" style="width:700px;height:300px" tabPosition="left" data-options="fit:true,border:false">
		<div title="拖卡总单" border="false" style="padding:0px" data-options="iconCls:'icon-formedit'">
<iframe scrolling="yes" frameborder="0"  src="manage1.html" style="width:100%;height:100%;"></iframe>		
		</div>
		<div title="中烟总单" href="manage2.html" style="padding:0px" data-options="iconCls:'icon-formedit'">
		</div>
		<div title="烟草托单" href="manage3.html" style="padding:0px" data-options="iconCls:'icon-formedit'">
		</div>
		<div title="危品总单" href="manage4.html" style="padding:0px" data-options="iconCls:'icon-formedit'">
		</div>
		<div title="冷链总单" href="driver5.html" style="padding:10px" data-options="iconCls:'icon-formedit'">
		</div>
		<div title="普货总单" href="manage6.html" border="false" style="padding:0px" data-options="iconCls:'icon-formedit'">

		</div>
	</div>

</body>
</html>